package com.jctrip.hotel.source.model.rezen.resp;

import java.io.Serializable;

import lombok.Data;

/**
 * @Author henry
 * @Date 2023/8/11 10:01
 * @Description
 */
@Data
public class RezenBaseResp<T> implements Serializable {
    private Integer retcode;
    private String retdesc;
    private String serverIp;
    private Long serverTicks;
    private String traceId;
    private T body;

    public Boolean isFail() {
        return this.retcode != 0;
    }
}
